#include "mainwindow.h"
#include <QApplication>
#include <QDesktopWidget>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;

    int width = QApplication::desktop()->width();
    int height = QApplication::desktop()->height();
    w.move((width - w.width())/2, (height - w.height())/2);
    w.show();

    w.show();

    a.setWindowIcon(QIcon("E:\\Qt4Project\\Browser\\web\\favicon.png"));
    return a.exec();
}
